import java.util.Arrays;

public class Test2 {

	public static void main(String[] args) {
		int[] arr= {4,2,9,3,8,1,5,7};
		Arrays.sort(arr);
		for(int i:arr) {
			System.out.print(i+"\t");
		}
		System.out.println("输出成功！");
	}

}
